package org.i0o.webplus.commons.util.populator;

/**
 * 修改common-beanutils部分逻辑
 * 
 * @author <a href="mailto:781131@gmail.com">HTF</a>
 * @version 2010-5-7
 */
public class BeanPopulator {
	/**
	 * 复制对象里面的属性
	 * 
	 * @param dest
	 * @param orig
	 */
	public static void copyProperties(Object dest, Object orig) {
		// Validate existence of the specified beans
		if (dest == null) {
			throw new IllegalArgumentException("No destination bean specified");
		}
		if (orig == null) {
			throw new IllegalArgumentException("No origin bean specified");
		}
	}

	/**
	 * 属性转换器
	 * 
	 * @param bean
	 * @param name
	 * @param value
	 */
	public static void copyProperties(Object bean, String name, Object value) {

	}
}
